﻿using System;
using Sinacor.UI.Bovespa.Movimento.Communication.Bovespa.Calendario.Calendario;

namespace Sinacor.UI.Bovespa.Movimento.Communication.Translator.DataContractToModel
{
    /// <summary>
    /// 
    /// </summary>
    public static class Calendario
    {
        #region Métodos

        /// <summary>
        /// 
        /// </summary>
        /// <param name="from"></param>
        /// <returns></returns>
        public static Model.DataAtual ToDataAtual(DataAtualResponse from)        
        {
            Model.DataAtual to = new Model.DataAtual();
            to.Valor = from.Valor;
            return to;
        }

        #endregion
    }
}
